package com.qzsoft.zhjd.warning.modules.warningenvconfig.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qzsoft.zhjd.warning.modules.warningenvconfig.dto.WarningEnvConfigListDto;
import com.qzsoft.zhjd.warning.modules.warningenvconfig.entity.WarningEnvConfigEntity;

/**
 * @ClassName WarningEnvConfigMapper
 * @Description 环保预警设置数据库接口
 * @author linhuawei
 * @since 2022-05-16
 */
@Mapper
public interface WarningEnvConfigMapper extends BaseMapper<WarningEnvConfigEntity> {

    /**
     * @Title queryDto
     * @Description 获取预警设置分页数据
     * @param page   分页条件
     * @param params 查询条件
     * @return 分页数据
     */
    public IPage<WarningEnvConfigListDto> queryDto(IPage<WarningEnvConfigListDto> page,
            @Param("params") Map<String, Object> params);

}
